package com.md.api.dao;

import com.md.api.entity.PhoneCodeConfirmLaw;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PhoneCodeConfirmLawMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PhoneCodeConfirmLaw record);

    PhoneCodeConfirmLaw getByPhoneCode(@Param("phoneCode") String phoneCode);

    List<PhoneCodeConfirmLaw> sysList(@Param("phoneCode")String phoneCode,@Param("area")String area);

    int updateByPrimaryKey(PhoneCodeConfirmLaw record);

    List<PhoneCodeConfirmLaw> list();
}